package com.tte.common;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan(basePackages = {"com.tte.common.mapper"})
@ComponentScan(basePackages = {"com.tte"})
@SpringBootApplication
@EnableAsync
@EnableScheduling
public class TcommonApplication {

    public static void main(String[] args) {
        SpringApplication.run(TcommonApplication.class, args);
    }

}
